package com.ficus.road.maintain.core.infrastructure.mongo.increment;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

/**
 * @author sdfu
 * @data 2019-03-21 13:29
 * @description
 */
@Document(collection = "sequence")
@Data
public class SequenceId {

    @Id
    private String id;

    @Field("seq_id")
    private int seqId;

    @Field("coll_name")
    private String collName;

}